// 引入mockjs的接口
let Mock = require('mockjs');

// 随机学生数据
const {projectionHall}=Mock.mock({
    "projectionHall|10":[{
        "name|1" : ["1号厅","2号厅","3号厅","5号厅","招商厅","9号RealD激光厅","7号激光厅","8-RealD金属银幕厅"], // 放映厅名字    
        "status|1" : [true,false], // 放映厅是否营业（可选）    
        "cinemasId|1" : ["万达影城","成都百丽宫影城","橙天嘉禾影城","太平洋影城"], // 放映厅所属影院的id
        "projectionId|1-3":1   // 放映厅id
    }]
})
console.log(projectionHall);
// 暴露随机数据
module.exports={projectionHall};